home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Megarom
/
Megarom Macintosh CD Software (Quantum Leap)(1992).iso
/
COMMUNICATION
/
WK Dial.PROC Source
/
Dial9600
< prev
Wrap
Text File
|
1989-11-05
|
839b
|
57 lines
ERASE ALL
ERASE W$
ERASE X$
ERASE Y$
ERASE Z$
COMM 9600-N-8-1-FULL
SETCOST 0
RESET
INITMODEM
LET EQUAL B%,0
NUMTOSTRING B%,A$
CONCAT A$, to try to connect with this number.
COPYINTO W$,Dialing
COPYINTO X$,Now dialing the number at 9600 baud. This is attempt number
COPYINTO Y$,1.
COPYINTO Z$, Click the close box to stop the dialing.
CUWOPEN2 0,0,60,270
:DO IT
PAUSE
CLEAR
ADD B%,1
NUMTOSTRING B%,A$
CONCAT A$,.
COPYINTO Y$,A$
UWUPDATE
TYPE ATDT 1-
SENDCLIP
TYPE ^M
ALERT1 BUSY/JUMPTO DO IT
ALERT2 NO CARRIER/JUMPTO DO IT
IF CLOSEUW JUMPTO GETOUT
PROMPT CONNECT
UWCLOSE
ERASE W$
ERASE X$
ERASE Y$
ERASE Z$
COPYINTO X$, We've made a connection!
COPYINTO Y$,
COPYINTO Z$,
CUWOPEN1 0,0,30,200
PAUSE 60
BELL
BELL
BELL
PAUSE 120
UWCLOSE
RESET
TYPE ^M
END
:GETOUT
UWCLOSE
HANGUP
INITMODEM
END